
# please run this under folder;
# javascript/app/WEB-INF/classes
# make sure CLASSPATH=.:$CLASSPATH
# and related websocket-api.jar etc are in classpath


OPTS=-source 11 -target 11

all:
	javac ${OPTS} wapeter/server/Server.java
	javac ${OPTS} websocket/AppConfig.java
	javac ${OPTS} websocket/proxy/Proxy.java
	javac ${OPTS} websocket/proxy/ProxyEndpoint.java

# run the server, with assertion -ea (enable assert)
run:
	java -ea wapeter.server.Server


clean:
	rm wapeter/server/*.class
	rm websocket/*.class
	rm websocket/proxy/*.class

